<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser</TargetFrameworks>
    <IgnoreForCI Condition="'$(TargetOS)' == 'browser'">true</IgnoreForCI>
    <EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Accept.cs" />
    <Compile Include="AgnosticListenerTest.cs" />
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="ArgumentValidationTests.cs" />
    <Compile Include="DisconnectTest.cs" />
    <Compile Include="HandleTest.cs" />
    <Compile Include="Connect.cs" />
    <Compile Include="Close.cs" />
    <Compile Include="CreateSocketTests.cs" />
    <Compile Include="DisposedSocketTests.cs" />
    <Compile Include="DnsEndPointTest.cs" />
    <Compile Include="DualModeSocketTest.cs" />
    <Compile Include="ExecutionContextFlowTest.cs" />
    <Compile Include="InlineCompletions.Unix.cs" Condition="'$(TargetPlatformIdentifier)' == 'unix'"/>
    <Compile Include="IPPacketInformationTest.cs" />
    <Compile Include="KeepAliveTest.cs" />
    <Compile Include="LingerStateTest.cs" />
    <Compile Include="LocalEndPointTest.cs" />
    <Compile Include="LoggingTest.cs" />
    <Compile Include="NetworkStreamTest.cs" />
    <Compile Include="ReceiveFrom.cs" />
    <Compile Include="ReceiveMessageFrom.cs" />
    <Compile Include="SafeHandleTest.cs" />
    <Compile Include="SelectTest.cs" />
    <Compile Include="SendPacketsAsync.cs" />
    <Compile Include="SendPacketsElementTest.cs" />
    <Compile Include="SendFile.cs" />
    <Compile Include="OSSupport.cs" />
    <Compile Include="SendReceive\SendReceive.cs" />
    <Compile Include="SendReceive\SendReceiveMisc.cs" />
    <Compile Include="SendReceive\SendReceiveNonParallel.cs" />
    <Compile Include="SendReceive\SendReceiveTcpClient.cs" />
    <Compile Include="SendReceive\SendReceiveUdpClient.cs" />
    <Compile Include="SendTo.cs" />
    <Compile Include="SocketDuplicationTests.cs" />
    <Compile Include="SocketTestHelper.cs" />
    <Compile Include="SelectAndPollTests.cs" />
    <Compile Include="SocketInformationTest.cs" />
    <Compile Include="StartupTests.Windows.cs" />
    <Compile Include="TcpListenerTest.cs" />
    <Compile Include="TelemetryTest.cs" />
    <Compile Include="TimeoutTest.cs" />
    <Compile Include="TcpClientTest.cs" />
    <Compile Include="Shutdown.cs" />
    <Compile Include="SocketAsyncEventArgsTest.cs" />
    <Compile Include="SocketOptionNameTest.cs" />
    <Compile Include="SocketTaskExtensionsTest.cs" />
    <Compile Include="MulticastOptionTest.cs" />
    <Compile Include="UdpClientTest.cs" />
    <Compile Include="UnixDomainSocketTest.cs" />
    <Compile Include="EnableBroadcastTest.cs" />
    <!-- Common Sockets files -->
    <Compile Include="$(CommonTestPath)System\Net\Configuration.cs"
             Link="SocketCommon\Configuration.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Configuration.Sockets.cs"
             Link="SocketCommon\Configuration.Sockets.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\TestSettings.cs"
             Link="SocketCommon\TestSettings.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\Fletcher32.cs"
             Link="SocketCommon\Fletcher32.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\SocketTestExtensions.cs"
             Link="SocketCommon\SocketTestExtensions.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\SocketTestServer.cs"
             Link="SocketCommon\SocketTestServer.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\SocketTestServerAsync.cs"
             Link="SocketCommon\SocketTestServerAsync.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\SocketTestServerAPM.cs"
             Link="SocketCommon\SocketTestServerAPM.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Sockets\SocketImplementationType.cs"
             Link="SocketCommon\SocketImplementationType.cs" />
    <!-- Common test files -->
    <Compile Include="$(CommonTestPath)System\Net\TestLogging.cs"
             Link="Common\System\Net\TestLogging.cs" />
    <Compile Include="$(CommonTestPath)System\Net\VerboseTestLogging.cs"
             Link="Common\System\Net\VerboseTestLogging.cs" />
    <Compile Include="$(CommonTestPath)System\Net\EventSourceTestLogging.cs"
             Link="Common\System\Net\EventSourceTestLogging.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Capability.Sockets.cs"
             Link="Common\System\Net\Capability.Sockets.cs" />
    <Compile Include="$(CommonTestPath)System\ShouldNotBeInvokedException.cs"
             Link="Common\System\ShouldNotBeInvokedException.cs" />
    <Compile Include="$(CommonTestPath)System\Threading\Tasks\TaskTimeoutExtensions.cs"
             Link="Common\System\Threading\Tasks\TaskTimeoutExtensions.cs" />
    <Compile Include="$(CommonTestPath)System\Buffers\NativeMemoryManager.cs"
             Link="Common\System\Buffers\NativeMemoryManager.cs" />
    <Compile Include="$(CommonTestPath)System\Diagnostics\Tracing\TestEventListener.cs"
             Link="Common\System\Diagnostics\Tracing\TestEventListener.cs" />
    <Compile Include="$(CommonPath)System\Net\Logging\NetEventSource.Common.cs"
             Link="Common\System\Net\Logging\NetEventSource.Common.cs" />
    <Compile Include="$(CommonTestPath)System\IO\TempFile.cs" Link="Common\System\IO\TempFile.cs" />
    <Compile Include="$(CommonTestPath)TestUtilities\System\DisableParallelization.cs"
             Link="Common\TestUtilities\System\DisableParallelization.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="$(CommonTestPath)StreamConformanceTests\StreamConformanceTests.csproj" />
  </ItemGroup>
</Project>
